
<?php
$DocRoot = $_SERVER['DOCUMENT_ROOT'];
include_once "$DocRoot/woflow/model/entity.php";
class OrgInbox extends Entity
{
	public function __construct($bReadOnly=false)
	{
		parent::__construct("org_inbox", "emailID", $bReadOnly=false);
	}
	public function getEmailID()
	{
		return $this->emailID;

	}
	public function setEmailID($emailID)
	{
		$this->emailID = $emailID;

	}
	public function getMessage()
	{
		return $this->message;

	}
	public function setMessage($message)
	{
		$this->message = $message;

	}
	public function toJSON()
	{
		return json_decode(
			array(
				"emailID" => $this->emailID,
				"message" => $this->message
			)
		);

	}

	private $emailID;
	private $message;
}
?>
